<div class="site_section_header">
	Components
</div>
<div class="site_section_subheader">
	View and manage site components. Components are snippets of HTML code that can be added to certain parts of your website pages.
</div>
<div class="site_section_subheader">
	<a href="/admin/components/add_component"><img src="/assets/images/<?php echo $this->sPlatform; ?>/admin/apps/sm/add-component.gif" alt="Add a component" align="absmiddle" class="smallAdd" />Add a component</a>
</div>

<div id="components_main_wrapper">
<?php
for($i = 0; $i < $qComponents->num_rows(); $i++)
{
	?>
	<div class="component_wrapper"><?php echo $qComponents->row($i)->component_name; ?> <div style="float:right"><a href="/admin/components/edit_component/<?php echo $qComponents->row($i)->component_id; ?>"><img src="/assets/images/<?php echo $this->sPlatform; ?>/admin/icons/edit.gif" alt="Edit" align="absmiddle" class="smallEdit" />Edit</a></div><div class="clear"></div></div>
	<?php
}
?>
</div>